/**
 * @projectName yygh_parent
 * @package com.atguigu.yygh.order.client
 * @className com.atguigu.yygh.order.client.OrderFeignClient
 */
package com.atguigu.yygh.order.client;

import com.atguigu.yygh.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * OrderFeignClient
 * @description
 * @author zyw
 * @date 2023/6/13 10:56
 * @version 1.0
 */
@FeignClient("service-orders")
@Repository
public interface OrderFeignClient {
    @PostMapping("/api/order/orderInfo/statistics")
    public Map<String, Object> statistics(@RequestBody OrderCountQueryVo queryVo);
}
